* {
  margin: 0;
  padding: 0;
}

/*让所有斜体 不倾斜*/
em,
i {
  font-style: normal;
}

/*去掉列表前面的小点*/
li {
  list-style: none;
}

/*图片没有边框   去掉图片底侧的空白缝隙*/
img {
  border: 0;
  /*ie6*/
  vertical-align: middle;
}

/*让button 按钮 变成小手*/
button {
  cursor: pointer;
}

/*取消链接的下划线*/
a {
  color: #666;
  text-decoration: none;
}

a:hover {
  color: #e33333;
}

button,
input {
  font-family: "Microsoft YaHei", "Heiti SC", tahoma, arial, "Hiragino Sans GB",
    \\5b8b\4f53, sans-serif;
}

body {
  /* opacity: 0.4; */
  position: relative;
  background-color: #fff;
  font: 12px/1.5 "Microsoft YaHei", "Heiti SC", tahoma, arial,
    "Hiragino Sans GB", \\5b8b\4f53, sans-serif;
  color: #666;
}

.hide,
.none {
  display: none;
}

/*清除浮动*/
.clearfix:after {
  visibility: hidden;
  clear: both;
  display: block;
  content: ".";
  height: 0;
}

.clearfix {
  *zoom: 1;
}

ul,
ol,
li {
  list-style: none;
}

#container {
  width: 980px;
  min-height: 1000px;
  margin: 0px auto;
}

#header {
  height: 88px;
  width: 100%;
  background: url(../img/logo.png) no-repeat right top;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background-color: #f5f7f6;
}

.nav {
  height: 100px;
  background-color: #133f52;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.nav div {
  width: 320px;
  height: 100%;
  line-height: 100px;
  font-size: 40px;
  color: white;
  opacity: 0.5;
  text-align: center;
}

#main {
  min-height: 500px;
  position: relative;
}

#main > div {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  /* height: 100%; */
  height: 500px;
  border: 1px solid;
  display: none;
}

.activediv {
  /* display: flex !important; */
  display: block !important;
}

.activebtn {
  opacity: 1 !important;
}
.pagination {
  display: flex;
  width: 300px;
  text-align: center;
  background-color: rgb(252, 238, 238);
  border-radius: 25px;
  overflow: hidden;
  margin: 0 auto;
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translate(-50%, 0%);
}
.pagination a {
  width: 30px;
  line-height: 30px;
  color: #404040;
  flex: 1;
}
.pagination a:nth-child(1) {
  transform: rotate(-45deg);
}
.pagination .next {
  transform: rotate(45deg);
}
.pagination a:hover {
  color: rgb(247, 73, 73);
}
/* 搜索模块 */
#search_div {
  box-sizing: border-box;
  float: right;
  /* margin: 0px auto; */
  /* width: 560px; */
  height: 30px;
}

#search_div input {
  /* display: block; */
  width: 200px;
  height: 40px;
}

#search_div > button {
  width: 50px;
  height: 40px;
}
#buy > select {
  width: 100px;
  margin: 10px;
}
/* 公告模块 */
.notice {
  height: 20px;
  position: relative;
  overflow: hidden;
}
.notice p {
  min-width: 100%;
  height: 20px;
  position: absolute;
  left: 200px;
  top: 0px;
  display: flex;
  justify-content: space-between;
}
/* 发布模块 */
#sell > div {
  position: relative;
  top: 50px;
  left: 290px;
  width: 400px;
  height: 400px;
  text-indent: 10px;
  text-align: center;
  /* margin: 50px auto; */
}

#sell_div > select,
#sell_div > input {
  width: 300px;
  height: 30px;
  float: right;
}

#sell > div > span {
  height: 40px;
  line-height: 40px;
}
/* 个人中心 */
.perdiv {
  display: flex;
  justify-content: space-between;
  min-height: 500px;
  flex-wrap: nowrap;
}
.pre_left {
  min-height: 500px;
  width: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  font-size: 40px;
  text-align: center;
  border-right: 2px solid;
  background-color: #aacc99;
}
.pre_left > span {
  color: white;
  opacity: 0.5;
}
.pre_right {
  /* width: 70%; */
  min-height: 500px;
  flex-grow: 1;
  position: relative;
}
.pre_right > div {
  position: absolute;
  left: 0px;
  top: 0px;
  margin-left: 100px;
}
#myinfo {
  margin: 20px 200px;
}
#myinfo > p {
  width: 400px;
  height: 300px;
  position: absolute;
  top: 100px;
  left: 0px;
  z-index: 2;
  opacity: 1 !important;
  display: none;
}
.pre_right table {
  width: 520px;
  max-height: 300px;
  overflow: auto;
}
/* 登录框 */
#login {
  width: 400px;
  height: 300px;
  position: absolute;
  top: 100px;
  left: 250px;
  z-index: 2;
  opacity: 1 !important;
  display: none;
}

/* 关闭登录页 */
p > button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: white;
  font-size: 30px;
  position: absolute;
  left: 45px;
  top: -20px;
}
p > input {
  width: 300px;
  height: 30px;
  float: right;
}

#cover_mask {
  width: 100%;
  min-height: 100%;
  position: absolute;
  left: 0px;
  top: 0px;
  background-color: #999999;
  z-index: 1;
  opacity: 0.5;
  display: none;
}

#buy > table {
  width: 800px;
  margin: 10px auto;
  /* min-height: 500px; */
  border: none;
}
/* #buy tr {
  height: 47px !important;
} */
th,
td {
  max-width: 100px !important;
  height: 30px;
  padding: 0px 10px;
  text-align: center;
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
}
